<template>
  <div>
    <t-input
      v-model="easy"
      @input="listenInput"
      aria-autocomplete="off"
      autocomplete="off"
    />
    <!-- <t-input :val="easy" @input="listenInput" /> -->
    {{ '双向:' + easy }}
  </div>
</template>
<script>
  import TInput from './components/input.vue';
  export default {
    components: {
      TInput
    },
    data() {
      return {
        easy: ''
      };
    },
    methods: {
      listenInput(event) {
        this.easy = event.target.value;
      }
    }
  };
</script>
